package com.zhang.admin;

import com.zhang.common.security.annotation.EnableZswResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@MapperScan(basePackages = {"com.zhang.admin.dao"})
@EnableZswResourceServer
@ComponentScan(basePackages = {"com.zhang.common.core","com.zhang.admin","com.zhang.common.log"})
@SpringCloudApplication
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
